<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div class="box">
        <div class=" meat left">左边</div>
        <div class="meat right">右边</div>
    </div>
    <style>
        .box {
            display: flex;
        }

        .meat {
            flex: 0 0 50%;
            max-width: 50%;
        }

        .left {
            margin: auto;
            background-color: tomato;
        }

        .right {
            margin: auto;
            text-align: right;
            background-color: tan;
        }
    </style>
</body>

</html>